Remove JpegImageFile.load_djpeg() - #9916
Conversation
|
Could you make an argument for why this should be removed, rather than documented? |
|
@radarhere Sure! This function might have had some value if it was automatically put into place if actual JPEG loading functions weren't available, but that has never been the case, so, like #9084, I'd call this unused. To match Hugo's research comment for #9084:
Also, there's this 2014 comment expressing desire to get rid of this function, so maybe a decade and change later that could be done. #731 (comment) EDIT: GitHub Code Search seems to find a single call from 10 years ago, from a seemingly abandoned mirror of https://launchpad.net/qa-regression-testing. |
|
I think |
|
Alright, I'll rework it to a deprecation when I get to a real terminal. But with that rationale, #9901 should be OK to merge? |
|
That's a reasonable point - although #9901 is mentioned in comments, so I think the |
Alternative to #9924
Sibling of #9901 (
_save_netpbm()for GIFs) and #9084 (save_cjpeg()for JPEGs).This PR proposes to remove the undocumented
JpegImageFile.load_djpeg()function and the testing infrastructure for it.